package cn.tx.service;

import cn.tx.model.Achievement;
import cn.tx.model.Grade;

import java.util.List;
import java.util.Map;

public interface AchievementService {
    public  int addAchievement(Achievement achievement);
    public int delete(String ids);
    public List<Achievement> findAll();
    public int UpdateAchievementById(Achievement achievement);


    public List<Achievement> findList(Map<String,Object> querymap);
    public int findTotal(Map<String,Object>querymap);


    public Achievement findByUserName(String username);
}
